<div>
    <div>
        <div class="panel panel-default  m-n">
            <div class="panel-heading font-bold">增/减积分</div>
            <form name="form" role="form" class="ng-valid form-horizontal form-validation">
                <div class="panel-body">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">代理商</label>
                        <div class="col-sm-8">
                            <input type="text" class="form-control" ng-model="agent.integralRecord.name" disabled="true">
                        </div>
                    </div>
                    <div class="line line-dashed b-b line-lg pull-in"></div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">积分总额</label>
                        <div class="col-sm-8">
                            <input type="text" class="form-control" ng-model="agent.integralRecord.integralBalance" disabled="true">
                        </div>
                    </div>
                    <div class="line line-dashed b-b line-lg pull-in"></div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">积分</label>
                        <div class="col-sm-8">
                            <div class="input-group">
                                <input type="number" class="form-control" ng-model="agent.changeValue" required>
                                <div class="input-group-btn dropdown" dropdown>
                                    <button type="button" class="btn btn-default" dropdown-toggle>{{ agent.changeTypeName }}</button>
                                    <ul class="dropdown-menu pull-right">
                                        <li><a href ng-click="changeType(0)">增加 </a></li>
                                        <li><a href ng-click="changeType(1)">减少 </a></li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="line line-dashed b-b line-lg pull-in"></div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">描述</label>
                        <div class="col-sm-8">
                            <textarea class="form-control" rows="4" ng-model="agent.description"></textarea>
                        </div>
                    </div>
                </div>
                <div class="panel-footer text-right">
                    <div>
                        <button type="submit" ng-click="ok()" class="btn m-b-xs w-xs btn-info">保存</button>
                        <button class="btn m-b-xs w-xs btn-default" ng-click="cancel()">取消</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
</div>